package org.wzy.spring.framework.beans.factory.support;

import org.wzy.spring.framework.beans.factory.config.BeanDefinition;
import org.wzy.spring.framework.context.AbstractApplicationContext;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 模拟Spring同名类实现, 主要是实现 AOP 功能
 *
 * @version v_1.0
 * @date 2018/5/26 14:48
 * @since 1.8
 */
public class DefaultListaleBeanFactory extends AbstractApplicationContext {

    /**
     * 保存已注册的所有 BeanDefinition, 实际上就是所谓的 "IOC 容器"
     */
    private final Map<String, BeanDefinition> beanDefinitionMap = new ConcurrentHashMap<>(10);

    @Override
    protected void refreshBeanFactory() {


    }

    @Override
    protected void onRefresh() {

    }
}
